package com.cskaoyan.mall.service;

import com.cskaoyan.mall.bean.Coupon;
import com.cskaoyan.mall.bean.bo.CouponBo;

import java.util.HashMap;
import java.util.List;

public interface CouponService {
    List<Coupon> queryCouponList(Integer page, Integer limit, String name, Short type, Short status, String sort, String order);

    Coupon updateCoupon(Coupon coupon);

    Coupon queryCouponById(Integer id);

    void deleteCoupon(Coupon coupon);

    HashMap<String,Object> queryCouponUserList(Integer page,Integer limit,Integer couponId,String sort,String order);

    Coupon createCoupon(Coupon coupon);

}
